Termination Analysis of Polynomial Programs with Equality Conditions
نویسندگان
چکیده
In this paper, we investigate the termination problem of a family of polynomial programs, in which all assignments to program variables are polynomials, and test conditions of loops and conditional statements are polynomial equations. Our main result is that the non-terminating inputs of such a polynomial program is algorithmically computable according to a strictly descending chain of algebraic sets, which implies that the termination problem of these programs is decidable. The complexity of the algorithm follows immediately from the length of the chain, which can be computed by Hilbert’s function and Macaulay’s theorem. To the best of our knowledge, the considered family of polynomial programs should be the largest one with a decidable termination problem so far. The experimental results indicate the efficiency of our approach.
منابع مشابه
Polynomial Interpretations as a Basis for Termination Analysis of Logic Programs
This paper introduces a new technique for termination analysis of definite logic programs (LPs) based on polynomial interpretations. The principle of this technique is to map each function and predicate symbol to a polynomial over some subset of natural numbers, like it has been done in proving termination of term rewriting systems. Such polynomial interpretations can be seen as a direct genera...
متن کاملDiscovering non-terminating inputs for multi-path polynomial programs
We investigate the termination problems of multi-path polynomial programs (MPPs) with equational loop guards. To establish sufficient conditions for termination and nontermination simultaneously, we first propose the notion of strong/weak non-termination which under/over-approximates non-termination. Based on polynomial ideal theory, we show that the set of all strong non-terminating inputs (SN...
متن کاملPolytool: Polynomial interpretations as a basis for termination analysis of logic programs
Our goal is to study the feasibility of porting termination analysis techniques developed for one programming paradigm to another paradigm. In this paper, we show how to adapt termination analysis techniques based on polynomial interpretations very well known in the context of term rewrite systems (TRSs) to obtain new (non-transformational) termination analysis techniques for definite logic pro...
متن کاملTermination of Loop Programs with Polynomial Guards
Termination analysis of loop programs is very important in many applications, especially in those of safety critical software. In this paper, the termination of programs with polynomial guards and linear assignments is simplified to decide solvability of semi-algebraic systems(SAS). If the number of functions are finite or the functions are integer periodic, then the termination of programs is ...
متن کاملTermination of Linear Programs with Nonlinear Constraints
In [16] Tiwari proved that termination of linear programs (loops with linear loop conditions and updates) over the reals is decidable through Jordan forms and eigenvectors computation. In [4] Braverman proved that it is also decidable over the integers. In this paper, we consider the termination of loops with polynomial loop conditions and linear updates over the reals and integers. First, we p...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1510.05201 شماره
صفحات -
تاریخ انتشار 2015